<?php
/**
 * configuration for app
 */
define ( 'LOG_LEVEL', LDEBUG ); // 定义调试级别
define ( "OUT_GZIP", 1 ); // 是否启动压缩输出，需要php的zlib扩展支持


////////////////////////////////////////
// datasource 数据库设置
define ( "DS_DRIVER", "PdoMysql" );
define ( 'DS_CHARSET', 'UTF8' );
define ( 'DS_DATABASE', 'centims' );
//define ( 'DS_TABLE_PREFIX', '' );
define ( 'DS_HOST', 'localhost' );
//define ('DS_PORT','3306');
define ( 'DS_USER', 'dbuser01' );
define ( 'DS_PASSWORD', 'ims002' );
//define ( 'DS_PCONNECT', false );


////////////////////////////////////////
//session
define ( 'SESSION_NAME', '__nz_sid' );
define ( 'SESSION_EXPIRE', 900 );
//define ( 'SESSION_PATH', "" );


////////////////////////////////////////
// cookie
define ( 'COOKIE_DOMAIN', '' ); // cookie domain
define ( 'COOKIE_PATH', '/' ); // cookie path
//define ( 'COOKIE_SECURE', false ); // cookie secure
define ( 'COOKIE_EXPIRE', 0 ); // cookie expire
define ( "COOKIE_KEY", 'yeN3g9EbNfiaZfodV63dI1j8Fbk5HaL7W6yaW4y7u2j4Mf45mPg2v899g451k576' );
// end of config.php
?>